home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
forms
/
demotod
/
demoapp.frm
< prev
next >
Wrap
Text File
|
1995-06-09
|
5KB
|
178 lines
VERSION 2.00
Begin Form DemoApp
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
Caption = "Tip of the Day Demo"
ClientHeight = 2430
ClientLeft = 2295
ClientTop = 2940
ClientWidth = 5115
Height = 3120
Left = 2235
LinkTopic = "Form1"
ScaleHeight = 2430
ScaleWidth = 5115
Top = 2310
Width = 5235
Begin VBini VBini
Entry = ""
FileName = ""
Left = 60
Section = ""
String = ""
Top = 1920
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "Otherwise, you will experience bad karma..."
ForeColor = &H00FF0000&
Height = 195
Index = 6
Left = 60
TabIndex = 7
Top = 2160
Width = 4995
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "If you find this code useful...."
ForeColor = &H00FF0000&
Height = 195
Index = 5
Left = 60
TabIndex = 6
Top = 1920
Width = 4995
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "United States"
ForeColor = &H00000000&
Height = 195
Index = 4
Left = 60
TabIndex = 5
Top = 1680
Width = 4995
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "Monessen, PA 15062"
ForeColor = &H00000000&
Height = 195
Index = 3
Left = 60
TabIndex = 4
Top = 1440
Width = 4995
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "30 Knox Ave."
ForeColor = &H00000000&
Height = 195
Index = 2
Left = 60
TabIndex = 3
Top = 1200
Width = 4995
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "The GUI Guys"
ForeColor = &H00000000&
Height = 195
Index = 1
Left = 60
TabIndex = 2
Top = 960
Width = 4995
End
Begin Label Label2
Alignment = 2 'Center
BackColor = &H00C0C0C0&
Caption = "Please send $5.00 to:"
ForeColor = &H000000FF&
Height = 195
Index = 0
Left = 60
TabIndex = 1
Top = 720
Width = 4995
End
Begin Label Label1
BackColor = &H00C0C0C0&
Caption = "Tip of the Day Demo"
FontBold = -1 'True
FontItalic = -1 'True
FontName = "MS Sans Serif"
FontSize = 24
FontStrikethru = 0 'False
FontUnderline = 0 'False
ForeColor = &H00FF0000&
Height = 615
Left = 60
TabIndex = 0
Top = 60
Width = 4995
End
Begin Menu mnuFile
Caption = "&File"
Begin Menu mnuEdit
Caption = "&Edit Tips"
End
Begin Menu mnuBar
Caption = "-"
End
Begin Menu mnuExit
Caption = "E&xit"
End
End
Begin Menu mnuHelp
Caption = "&Help"
Begin Menu mnuTip
Caption = "&Tip of the Day"
End
End
End
Option Explicit
Sub Form_Load ()
VBIni.FileName = App.Path + "\DemoApp.INI"
VBIni.Section = "TOD"
VBIni.Entry = "TipStart"
VBIni.String = ""
VBIni.Refresh
If Trim$(VBIni.String) = "" Then
DemoTOD.Show 1
End If
End Sub
Sub mnuEdit_Click ()
DemoTipEdit.Show 1
End Sub
Sub mnuExit_Click ()
End
End Sub
Sub mnuTip_Click ()
DemoTOD.Show 1
End Sub